HTMLify
style.css
Views: 16 | Author: cody
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | body { display: flex; align-items: center; justify-content: center; min-height: 100vh; font-family: "Poppins", sans-serif; color: #ffffff; background-color: #212121; } .navigation { margin: 0; padding: 0; list-style: none; } .navigation__link { position: relative; display: block; font-weight: 900; font-size: 5rem; line-height: 1.5; text-decoration: none; color: transparent; -webkit-text-stroke: 1px #ffffff; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .navigation__link:hover { color: #ffffff; -webkit-text-stroke: 1px #212121; transition: 0.25s; } .navigation__link:hover::before { transform: translate(12px, -12px); color: #ff1744; -webkit-text-stroke: 1px #212121; } .navigation__link:hover::after { transform: translate(24px, -24px); color: #4dd0e1; -webkit-text-stroke: 1px #212121; } .navigation__link::before, .navigation__link::after { content: attr(data-text); position: absolute; top: 0; left: 0; z-index: 1; transition: 0.5s; -webkit-text-stroke: 1px transparent; } |